package com.zengqingfa.imp.demo.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @fileName: ExcelImportBillRest
 * @author: zengqf3
 * @date: 2020-12-20 10:47
 * @description:
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface ExcelAttribute {

    /**
     * 对应的列名称
     * @return
     */
    String name() default "";

    /**
     * 列序号
     */
    int sort();

    /**
     * 字段类型对应的格式
     */
    String format() default "";

}
